import axios from '../axios';
export default {
    getAppointment(pageResult) {
        return axios({
            url: '/Reservation/ReceptionistSelectReservation',
            method: 'put',
            data: pageResult
        })
    },
    updateReservation(reservation) {
        return axios({
            url: '/Reservation/updateReservation',
            method: 'put',
            data: reservation
        })
    },
    deleteReservation(id) {
        return axios({
            url: '/Reservation/' + id,
            method: 'delete',
        })
    }
}